<!DOCTYPE html>
<html>
<head>
  <link rel="match" href="clearcolor_ref.html"></link>
  <meta charset="utf-8" />
  <title>WebGL ClearColor Test</title>
</head>
<style>

html, body {
  margin: 0;
}

</style>
<body>
<canvas id="canvas" width="640" height="480"></canvas>
<script type="text/javascript">

var gl = document.getElementById("canvas").getContext("webgl");

gl.clearColor(1.0, 0.0, 0.0, 1.0);
gl.clear(gl.COLOR_BUFFER_BIT);

</script>
</body>
</html>
